<template>
  <div id="base-layout">
    <a-layout>
      <a-layout-header class="header">
        <GlobalHeader/>
      </a-layout-header>
      <a-layout-content class="content">
        <RouterView/>
      </a-layout-content>
      <a-layout-footer class="footer">
        <a href="#" target="_blank" rel="noopener noreferrer">
          月亮湖 BY 雪灰
        </a>
      </a-layout-footer>
    </a-layout>
  </div>
</template>

<style scoped>
#base-layout .header {
  background: white;
  margin-bottom: 16px;
  color: unset;
  padding-inline: 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

#base-layout .footer{
  color: #417bb6;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  font-size: 20px;
  padding: 16px;
}

#base-layout .content{
  background: linear-gradient(to left, #a3a2a2, #c3bebe);
  padding: 20px;
  margin: 64px 0;
  min-width: 99vw;
}
</style>
<script setup lang="ts">
import GlobalHeader from '@/components/GlobalHeader.vue'

</script>
